package com.groupseven.backend.domain.Sidebar;

import com.groupseven.backend.domain.Permission.PermissionItem;

import java.util.List;


/**
 * @Author 王志华
 */
public class SidebarItems {

    public String icon;

    public String index;

    public String title;

    public List<PermissionItem> permissions;

    public int front_number;

    public int number;

    public int is_admin;

    public List<PermissionItem> getPermissions() {
        return permissions;
    }

    public void setPermissions(List<PermissionItem> permissions) {
        this.permissions = permissions;
    }

    public int getFront_number() {
        return front_number;
    }

    public void setFront_number(int front_number) {
        this.front_number = front_number;
    }

    public List<SidebarItems> subs;

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }


    public List<SidebarItems> getSubs() {
        return subs;
    }

    public void setSubs(List<SidebarItems> subs) {
        this.subs = subs;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public int getIs_admin() {
        return is_admin;
    }

    public void setIs_admin(int is_admin) {
        this.is_admin = is_admin;
    }

    public SidebarItems(){
        this.icon=null;
        this.index=null;
        this.title=null;
        this.subs=null;
        this.number=-1;
        this.is_admin=-1;
    }

    public SidebarItems(String icon, String index, String title, int number, int is_admin, List<SidebarItems> subs) {
        this.icon = icon;
        this.index = index;
        this.title = title;
        this.number = number;
        this.is_admin = is_admin;
        this.subs = subs;
    }

    public SidebarItems(String icon, String index, String title, int number, int is_admin) {
        this.icon = icon;
        this.index = index;
        this.title = title;
        this.number = number;
        this.is_admin = is_admin;
    }
}
